﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;
using MySql.Data.MySqlClient;

namespace QLXMDataAccessLayer.Logic
{
    public interface ILogicBase
    {
        MySqlConnection connectDB();
        DataTable selectData(String sql);
        DataTable selectData(String sql, List<ParamSQL> listParam);
        bool insertData(String sql);
        bool deleteData(String sql);
        bool updateData(String sql);
        //DataTable selectStore(String storeName);
        DataTable selectStore(String storeName, params ParamSQL[] listParam);
        DataTable selectStore(String storeName, List<ParamSQL> listParam);
    }
}
